package com.gzhryc.pay.adaptation.weixin.msg.advance_pay;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class WXPayAdvancePayFinishRequest implements Serializable {

	private static final long serialVersionUID = 1L;

	private String appid;
	private String service_id;
	private List<PostPaymentItem> post_payments;
	private List<PostDiscountItem> post_discounts;
	private TimeRange time_range;
	private Location location;
	private Integer total_amount;
	private Boolean profit_sharing;

	public WXPayAdvancePayFinishRequest() {
		this.time_range = new TimeRange();
		this.location = new Location();
		this.post_payments = new ArrayList<PostPaymentItem>();
	}

	public String getAppid() {
		return appid;
	}

	public void setAppid(String appid) {
		this.appid = appid;
	}

	public String getService_id() {
		return service_id;
	}

	public void setService_id(String service_id) {
		this.service_id = service_id;
	}

	public List<PostPaymentItem> getPost_payments() {
		return post_payments;
	}

	public void setPost_payments(List<PostPaymentItem> post_payments) {
		this.post_payments = post_payments;
	}

	public List<PostDiscountItem> getPost_discounts() {
		return post_discounts;
	}

	public void setPost_discounts(List<PostDiscountItem> post_discounts) {
		this.post_discounts = post_discounts;
	}

	public TimeRange getTime_range() {
		return time_range;
	}

	public void setTime_range(TimeRange time_range) {
		this.time_range = time_range;
	}

	public Location getLocation() {
		return location;
	}

	public void setLocation(Location location) {
		this.location = location;
	}

	public Integer getTotal_amount() {
		return total_amount;
	}

	public void setTotal_amount(Integer total_amount) {
		this.total_amount = total_amount;
	}

	public Boolean getProfit_sharing() {
		return profit_sharing;
	}

	public void setProfit_sharing(Boolean profit_sharing) {
		this.profit_sharing = profit_sharing;
	}
}
